package com.wu.ssm.study.adaptor.oppAdapter;

/**
 * Created by wzf on 2018/11/9/009.
 */
public class AdaptorTest {
    public static void main(String[] args) {
        CN220VInterface cn220VInterface = new CN220VInterfaceImpl();
        PowerAdaptor adaptor = new PowerAdaptor(cn220VInterface);

        ElectricCooker cooker = new ElectricCooker(adaptor);
        cooker.cook();

    }
}
